package com.yf1706.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.yf1706.comm.RowMapper;

public class adminRowMapper implements RowMapper<adminbean>{

	@Override
	public adminbean mapper(ResultSet rs) throws SQLException {
		adminbean admin=new adminbean();
		admin.setAid(rs.getInt("aid"));
		admin.setApwd(rs.getString("apwd"));
		admin.setAphone(rs.getString("aphone"));
		return admin;
	}

}